﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;

[assembly: WebResource("IRC.IRepairClouds.WebClient.Controls.Common.LoginStatus.debug.js", "text/javascript")]
[assembly: WebResource("IRC.IRepairClouds.WebClient.Controls.Common.LoginStatus.js", "text/javascript")]

namespace IRC.IRepairClouds.WebClient.Controls.Common
{
    public partial class LoginStatus : ScriptControl
    {
        public static IEnumerable<ScriptReference> GetScriptReferencesStatic()
        {
            yield return new ScriptReference("IRC.IRepairClouds.WebClient.Controls.Common.LoginStatus.js", "IRC.IRepairClouds.WebClient");
        }

        public override IEnumerable<ScriptDescriptor> GetScriptDescriptors()
        {
            ScriptControlDescriptor descriptor = new ScriptControlDescriptor("IRepairClouds.Controls.Common.LoginStatus", holder.ClientID);
            yield return descriptor;
        }

        public override IEnumerable<ScriptReference> GetScriptReferences()
        {
            return GetScriptReferencesStatic();
        }
    }
}